//
//  SCBAVPlayer.m
//  Time
//
//  Created by dllo on 16/7/27.
//  Copyright © 2016年 司昌宝. All rights reserved.
//

#import "SCBAVPlayer.h"

@interface SCBAVPlayer ()

//@property (nonatomic,retain) NSTimer *timer;

@end

@implementation SCBAVPlayer

+(SCBAVPlayer *)shareSCBAVPlayer{
    
    static SCBAVPlayer *scbAVPlayer;
    
    static dispatch_once_t token;
    
    dispatch_once(&token, ^{
        scbAVPlayer = [[SCBAVPlayer alloc]init];
    });
    return scbAVPlayer;
}

-(instancetype)init
{
    self = [super init];
    if (self) {
        _AVPlayer = [[AVPlayer alloc] init];
    }
    return self;
}


@end
